//
//  IGReportTopicApi.m
//  jingdongfang
//
//  Created by BOE on 2017/9/13.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGReportTopicApi.h"

@interface IGReportTopicApi()

@property (nonatomic, copy) NSString *typeId;
@property (nonatomic, copy) NSString *pid;
@property (nonatomic, copy) NSString *content;

@end

@implementation IGReportTopicApi

- (instancetype)initWithTypeId:(NSString *)typeId pId:(NSString *)pid content:(NSString *)content {
    self = [super init];
    if (self) {
        _typeId = typeId;
        _pid = pid;
        _content = content;
    }
    return self;
}
   
- (NSString *)requestUrl {
    return @"circle/report/commitReport";
}
    
- (id)requestArgument {
    return @{
             @"uid":[IGUser getUid],
             @"typeId": _typeId,
             @"pid": _pid,
             @"content": _content
             };
}
    
@end

@implementation IGReportTopicModel

+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}
    
@end

@implementation IGReportTopicResp

@end
